<template>
  <div class="header">
    <div class="header_left">
       <router-link to='/beauty/hair/info'>
        <a href="">
            <img src="../../../../../../assets/style/iconfont/fanhui.svg">
          
        </a>
       </router-link>
         <div class="back">
             <span >返回</span>
           </div>
         
    </div>
    <div class="header_mid">
      <div class="header_mid_wrap">   
        <span>商品详情</span>
      </div>
    </div>
    <div class="header_right">
      <a href="">
        <img src="../../../../../../assets/style/iconfont/share.svg" alt="">
      </a>
      
    </div>
  </div>
</template>

<script>
export default {
  name: 'BuyHead'
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header{
  width: 100%;  
  background-color: #06c1ae;
  display: flex;
  color: #ffffff;
  height: 1rem;
}
.header_left{
  width: 2rem;
}
.header_left img{
    height: .6rem;
    width: .9rem;
    margin: .2rem 0;;
}

.back {
   width: .8rem;
   height: 1rem;
   float: right; 

}
.back span{
  display: block;
  margin-top: .28rem;

}
.header_mid{
  flex:1;
}
.header_mid_wrap{
  width: 30%;
  margin: 0 auto;
  height: .6rem;
  line-height: .6rem;
  font-size: .28rem;
  text-align: left;
  display: block;
  margin-top: .2rem;
  /* background-color: #63b1a8;  
  border-radius: .1rem; */
}
.header_mid_wrap span{
  font-size: .28rem;
  margin-right: .2rem;
  
}
.header_right{
  width: 1rem;
  margin-right: .2rem;
}
.header_right img{
  height: 1rem;
  display:block;
}

</style>
